﻿/* $RCSFile: ISettingsInitializer.cs $
 * Apache license v2 2011 by Christian Surieux
 * $Source: ?/ADNCRM.Core/Configuration/Settings/ISettingsInitializer.cs $
 * $log$
 * Revision 6 2010/08/06 19:56:27  christian.surieux
 *   Added Log to All cs files
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AddonNice.UI.WebControls;

namespace AddonNice.Configuration.Settings
{
    /// <summary>
    /// This interface allow to retrieve all Initializers for module using reflection
    /// Initializers allow to initialize parameters corresponding to Modules independently from the asp.net module 
    /// Base values for settings are added to the settingsDictionary sent as parameter
    /// </summary>
    public interface ISettingsInitializer
    {
        void InitSettings(ModuleSettingsDictionary bSettings);
        void InitSettings(ModuleSettingsDictionary bSettings,ISettingsOwner pm);

        ISettingsOwner Owner
        {
            get;
            set;
        }
    }
}
